package com.smalls.newvideotwo.utils;

import android.content.Context;

public class LanguageUtil {
    public static boolean isZh(Context context) {
        try {
            if (context.getResources().getConfiguration().locale.getLanguage().endsWith("zh")) {
                return true;
            }
            return false;
        } catch (Exception e) {
            e.printStackTrace();
            return false;
        }
    }
}
